import Store from './index';
import { apiGetGroupList } from '../api';

//团购管理列表
export const getGroupList = (data?:any) => {
    apiGetGroupList(data).then(res => {
        Store.dispatch({type:'GET_GROUP_LIST', payload:res.data});
    })
}